<template>
	<view class="my-connai">
		<my-login v-if="!token"></my-login>
		
		<my-userinfo v-else></my-userinfo>
	</view>
</template>

<script>
	import badgeMix from'@/mixins/tabbar-badge.js'
	
	import { mapState } from 'vuex';
	export default {
		mixins:[badgeMix],
		data() {
			return {
				
			}
		},
		onLoad() {
			
			
		},
		computed:{
			...mapState('m_user',['token'])
		},
		methods: {
			
			
		}
	}
</script>

<style>
page,.my-connai{
	height: 100%;
}
</style>
